From 6a8c49a43e508cc3bdb791df8f8618606211fa2b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 31 Jan 2009 02:21:27 +0000 Subject: [PATCH] Make sure we queue at least one resize. This fixes a problem with * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue at least one resize. This fixes a problem with toolitems remaining invisible when they shouldn't that was reported by Christian Weiske. svn path=/trunk/; revision=22260 --- ChangeLog | 8 ++++++++ gtk/gtktoolbar.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 627f6421ae..f83bc9ecfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-01-30 Matthias Clasen + + Bug 359288 – Toolbar items are not shown after hiding + + * gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue + at least one resize. This fixes a problem with toolitems remaining + invisible when they shouldn't that was reported by Christian Weiske. + 2009-01-30 Matthias Clasen * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item): diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index ff4bda5f5f..6b1f05323c 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -1205,6 +1205,8 @@ slide_idle_handler (gpointer data) } } + gtk_widget_queue_resize_no_redraw (GTK_WIDGET (toolbar)); + priv->is_sliding = FALSE; priv->idle_id = 0; -- 2.30.2